package com.car.util;

public class PageUtil {

    public final static int PAGESIZE = 3;

    /**
     * 计算出总页数
     *
     * @param count
     * @param pageSize
     * @return
     */
    public static int getTotalPage(int count, int pageSize) {
        return count % pageSize == 0 ? count / pageSize : count / pageSize + 1;
    }

}
